import request from "@/utils/http";
export const login = (data) => {
  return request({
    url: "/login",
    method: "post",
    data: data,
  });
};

export const getCaptchaImage = (data) => {
  return request({
    url: "/captchaImage",
    method: "get",
    params: data,
  });

};

export const getRouters=(data)=>{
    return request({
        url:'/getRouters',
        method:'get',
        params:data
    })
}